import requests
standHeader = {}

def getFetchdata(url):
    response = requests.get(url=url,headers=standHeader)
    print('getFetchdata:' + response.text)
def postFetchdata(url):
    response = requests.post(url=url,headers=standHeader)
    print('postFetchdata:' + response.text)
"""
fetch("https://www.zhihu.com/api/v3/feed/topstory/recommend?action=down&ad_interval=-10&after_id=5&desktop=true&end_offset=5&page_number=2&session_token=800850f02bd8a882123f96e3d79705af", {
  "headers": {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "cache-control": "no-cache",
    "pragma": "no-cache",
    "priority": "u=1, i",
    "sec-ch-ua": "\"Google Chrome\";v=\"125\", \"Chromium\";v=\"125\", \"Not.A/Brand\";v=\"24\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "x-api-version": "3.0.53",
    "x-requested-with": "fetch",
    "x-zse-93": "101_3_3.0",
    "x-zse-96": "2.0_gjo2xPydyldGzdegjiKpD6bfQzlnsbvSQTg78siYkCB2MB0JDfFnXczDKDNYA37j",
    "cookie": "_zap=383d9fd2-c856-4386-b8a9-27a3f09224f2; d_c0=ANDcF2kCihiPTue158SS2AD5od1Y1OiB_30=|1714358515; __snaker__id=pgkfVM5KYQuZY08t; q_c1=c747c5728d7440b29e03167a792c26d8|1714358536000|1714358536000; _xsrf=SsWBG1lEAneiBkw6M9W1KPzR9CH0b2dh; __zse_ck=001_EVs4rJpWfkFpVCHM0tKseW0PP6bBG9I47fpg52ByTLrRtN4xuE33R8dG7s+d8Mh55kki+dS4f0RFVrpldidEprr8cMyAQP12uIg0ZOJsjMz0m4rMygEjzs5q=qRszVo6; z_c0=2|1:0|10:1724999459|4:z_c0|80:MS4xZ2psaEFBQUFBQUFtQUFBQVlBSlZUU08xdm1lc25mNEZxaUpuZENGS3U1U3RHRDVoOGQ0RG5nPT0=|3f60bd024a89bde6f67dca05de0b391eb82aaa071200f39f690016d667c6825c; Hm_lvt_98beee57fd2ef70ccdd5ca52b9740c49=1724892590,1724927099,1724978896,1725014171; HMACCOUNT=807DDABE7CE5B90A; SESSIONID=zucqW58qHbieUgpyjGSpm5JbgOzfAktD0LO3NQPsWCD; JOID=UFEUAELPzYyL7D3SU87tkqg7KrNIvrDt8LAD4iCMpO3ss1GpIlBnVezsPthbv5WEs3A0C01RjdGVrKr4f8y0zrI=; osd=VlAUBELJzIyP7DvTU8rtlKk7LrNOv7Dp8LYC4iSMouzst1GvI1BjVertPtxbuZSEt3AyCk1VjdeUrK74ec20yrI=; BEC=4df94755b0934e8e76471bb2a4ed295a; Hm_lpvt_98beee57fd2ef70ccdd5ca52b9740c49=1725014188; tst=r",
    "Referer": "https://www.zhihu.com/",
    "Referrer-Policy": "no-referrer-when-downgrade"
  },
  "body": null,
  "method": "GET"
});
"""

"""
https://www.zhihu.com/api/v3/moments/TheEthanYu/activities?limit=5&desktop=true
Cookie:_zap=c3c5f8e7-f11f-4b29-bfa8-61e8ff8dbffc; d_c0=AGASG71KdBmPTuT4zYI_QUrztwP_H_lC27o=|1730080950; __snaker__id=GCQ6xMRMNCo56sgf; q_c1=b8ce070137e3460a9bb35166b624c2da|1730080971000|1730080971000; z_c0=2|1:0|10:1732694537|4:z_c0|80:MS4xZ2psaEFBQUFBQUFtQUFBQVlBSlZUUWtnTkdnLUxXSXFMYUhfWVlfd1dXMDB6Q252T1dhclpBPT0=|712e366635e30deb69d7a3b02d940f81723a1f8013e558886f472138935b1bdb; _xsrf=e765e898-8310-480e-9e84-d445baef06d6; Hm_lvt_98beee57fd2ef70ccdd5ca52b9740c49=1734914533,1735001222,1735087994,1735174566; HMACCOUNT=077CACE8C837D310; __zse_ck=004_Bo8wXI03w3oSKSoAVCF=qNkmUdf=fbA2vG0d3UNqdy=x=bg75gSKgIjIaH=30kSpDlNQdl2CjpWuWzA3Lf2ZD4JxK2=zYG/4Axf=AubWb0TvGYDIN50rsCEH8xKXpANK-RN0+hEbro2npo+mFeJZq0APJO1XKvaFxjaZCo76fkQwTyMQ5yf5kXzh6qWCpVchKXzjGTZbP+3HvAG+/UBWmZygtzDibH8NelFm+2xNKmiaMh7cBpvhDfuVmUdxAcYM5; SESSIONID=r2jpG7Ube5Iq96fIRmrrBMpBAieq59THmTEyMH3eChN; JOID=V1kVBEo9NwDkHP3CFT8XGMvC6aMISwRtkl_OlnBcBkiSI8-gXQc5bIEc-MQUvdCTOOAkFx-v0KwUuWvjD4RrSWY=; osd=V1sRBk09NQTmG_3AET0QGMnG66QISQBvlV_MknJbBkqWIcigXwM7a4Ee_MYTvdKXOuckFRut16wWvWnkD4ZvS2E=; tst=r; Hm_lpvt_98beee57fd2ef70ccdd5ca52b9740c49=1735207095; BEC=244e292b1eefcef20c9b81b1d9777823
X-Requested-With:fetch
x-zse-93:101_3_3.0
x-zse-96:2.0_08gZm06ctQ0Hwoc9a2esTJjaVwgujW3Sa9Y10NJBqFzl48tIVk6DqjTGqAICI=4u

"""